Contents

Select one of the following items for information about dMail for Windows:

About dMail for Windows	- general information about the program,

Demos/Internet	- information about the network,

Using dMail for Windows	- description of menu items and shortcut keys,

Interaction with other applications	using dMail with other applications.


Interaction with other applications

INTERACTION WITH OTHER APPLICATIONS

dMail provides "transport support" for external applications.  This means that any program can use dMail for Windows as a gateway for automated mailing of messages.

Samples:

1) Your database prepares letters with current price lists and saves files in a special format in the directory dMail_SpoolDir\AUTOSEND.

2) You create a message in an external word processor (NOTEPAD, Multi Edit, Word for Windows, WordPerfect, etc.) and save it as text-only files (plain ASCII) in the special dMail format in dMail_SpoolDir\AUTOSEND.

dMail will notice the presence of the message in the AUTOSEND directory, and it will be mailed automatically without your interaction.

These files must have an EML extension.

dMail should be running, and at least one host must be configured for automatic connection.

MESSAGE FORMAT FOR THE AUTOSEND FUNCTION

First line:

{dMail message}

Second line specifies the type of message:

à)	regular email message: 	{letter}

á)	newsgroup post: 	{news}

All subsequent lines define header fields of the standard Internet email message:

{TO}	- recipient address;

{CC}	- carbon copy recipient;

{BCC}	- blind carbon copy recipient;

{SUBJECT}	- message subject;

{NEWSGROUPS}	- list of newsgroups, where the message will be posted;

{KEYWORDS}	- keywords (for news posts);

{SUMMARY}	- summary (for news posts);

{DISTRIBUTION}	- geographic area (e.g., local, ru, usa, world, etc.);

{UUFNAME}	- full path and file name for the attached file, it will be UUEncoded during preparation of the message (UUENCODE);

{COPYSELF}	- to save a copy of the sent message;

{ADDSIGNATURE}	- to add a file with your signature;

{CONFIRMDELIVERY}	- request a return receipt.

Header is separated from the message body by one blank line.

Keywords may include lower, upper, and mixed case characters.

Sample messages:

{dMail message}

{letter}

{to}postmaster@demos.su

{subject}"AUTOSEND" test message.

This message will be automatically delivered to the recipient using dMail for Windows.

{dMail message}

{letter}

{to}postmaster@demos.su

{cc}anybody@deep.daleko.ru

{subject}"AUTOSEND" test message.

This message will be automatically delivered to the recipient using dMail for Windows.

{dMail message}

{news}

{to}newsserv@net.ru

{newsgroups}alt.comp.idiots.misc

{subject}High quality nails on offer.

A company has a large bulk of high-precision paper and rubber nails for sale.

For more information call. 322-223-322


Demos/Internet

Relcom is the Russian part of the Internet, it was founded by Demos Ltd. In 1989. Demos is one of the largest Russian Internet providers, its services include email, SLIP/PPP accounts, leased line connections, full range of World Wide Web development and hosting services.

To get connected to the Internet in Moscow, you can call the central office of Demos, in other cities of the former USSR you can contact a regional Relcom node.

    Demos/Internet

    +7 (095) 956-60-80, +7 (095) 956-62-33

    E-mail: info@demos.su


About dMail for Windows

dMail for Windows  is an Internet mail application,  powerful and convenient, initially developed for electronic mail communication in the Demos/Internet.

dMail for Windows supports the following transport protocols:

UUCP g	UUCP protocol via modem or TCP/IP,

SMTP	mail transport protocol for TCP/IP connections,

POP3	mail retrieval protocol for TCP/IP connections.

News groups are accessed via TCP/IP using the NNTP  protocol.

Internet addressed.

Internet email addresses have the following general format:

 user @ dN. ... .d3.d2.d1,

where

user	is the name of the recipient

@	is a special character that separates user and domain names;

dN. ... .d3.d2.d1	domain address of the user's host.

The domain name can consist of several subdomains.

d1	is usually a two-letter country code.

E.g.:

su	ex-USSR,

uk	Great Britain.

Subdomain d1 us usually called a top level domain.

d2	usually denotes a city or a company within a country.

E.g.:

msk	Moscow;

demos	Demos Ltd.;

msu	Moscow State University.

Other subdomains denote network nodes, and dN is the host name of the user's computer.

E.g.:

freddy@kruger.demos.su - is the address of the user named freddy, who is working on a computer kruger that is connected to Demos.

In the US and Canada top level domains can denote the type of the enterprise:

COM	commercial companies;

EDU	universities and other educational institutions;

GOV	government;

MIL	US military;

NET	Internet network nodes;

ORG	other organizations.

In some networks, e.g., BITNET, the name of the network is used as the top level domain.

Domain names are case insensitive. However, user name can be case sensitive, or can be interpreted differently depending on the user's platform.

According to RFC-822):

user@host,  User@host,  USER@host - represent three different addresses.


Using dMail for Windows

New message	- how to create a new message

Newsgroup post	- how to post to newsgroups

Shortcut keys	- information about shortcut hot keys

General configuration	- general configuration of the program

User management	- help on creating, managing and removing local users

User settings	- setting up local users' accounts

Host settings	- setting up dMail for interaction with Internet hosts

Connecting to a host	- how to connect to an Internet node

Additional fields	- creating, modifying, and deleting message header fields

Reading mail	- how to read new mail


Additional fields

Additional message header fields can be added, deleted, and modified using the Additional Fields item in the CONFIGURATION menu.

A window appears:

You can select a field to modify, or you can crate a new field.

You can use the following macro definitions for additional fields:

$u - local username;

$h - domain name;

$r - real name of a user;

$a - date in the ARPA format;

$i - unique message ID.

Please note that you should not use the colon ':' in the field FieldName.

Using dMail for Windows.


User management

Local users are managed using the User Management item in the Configuration menu.

You can create and delete users, modify their properties, assign current active users, and postmaster (the person responsible for the domain mail).

When you select a user from the list, you can:

- GET IT! Start working with the user,

- INFO Obtain information about the user,

- REMOVE Delete a local user

- POSTMASTER Make current user a Postmaster,

- NEW Create a new local user.

Using dMail for Windows.User settings.


User settings

User settings are defined in this window:

You can modify the following properties:

User Name	local username;

Real Name	real name of the user;

WorkDir	user's home directory;

NewMail file	name of the file with the incoming mailbox;

CopySelf file	name of the file with saved copies (FCC);

Signature file	signature file.

Using dMail for Windows,User management.


General configuration

Select Global Configuration in the CONFIGURATION menu to modify general settings of dMail.

A dialog window appears:

You can define the following:

Domain	domain name of you PC;

NodeName	for UUCP - this is the UUCP name of your PC;
for IP - this field can be a part of your Domain name
E.g.:
Domain - slip-pc.demos.su
NodeName can be slip-pc.

MailServer	for UUCP - this the default UUCP host for sending mail;
for other transport groups it is the name of the outgoing queue.
This is also the name of the main queue in the SpoolDir
NOTE!!! When configuring Host settings you should have at leas one host with the name specified in the MailServer field.

NewsServer	E-Mail address of the news server (UUCP);

NNTPHost	host name of the news server (IP);

TimeZone	your local time zone;

SpoolDir	name of the directory, where the incoming/outgoing mail is temporarily stored ;

Grades	these four letters denote priority of the message;

Do Debug UUCP	turns on UUCP debugging. All data is saved into a file named "UUCP.LOG" in the SpoolDir;

Do Receipt	should dMail honor return receipt requests for messages delivered to local users.

FONTS:

Editor	font setting for the edit window;

Viewer	font setting for the message viewer;

Mail List	font setting for the mail list window;

Printer	font setting for the printing.

dMail uses a standard Windows dialog to select fonts:

Using dMail for Windows.


Host settings

Configure mail hosts during your first dMail for Windows session. Choose  NODE OPTIONS from the  CONFIGURATION menu.

Press the NEW button to define a news host.

This dialog contains the following items

a) Transport 	type of your transport protocol:

SMTP - this is the main protocol for sending mail on an IP network (most frequently used for SLIP/PPP accounts);

POP3 - this protocol allows reading a remote mailbox on an IP network (most frequently used for SLIP/PPP accounts);

NNTP - this protocol allows on-line access to USENET newsgroups (IP connectivity required);

UUCP-modem - this protocol allows exchanging mail (unix-to-unix copy) via a modem;

UUCP/PAD-modem - this protocol allows mail exchange using a modem when connection is established via and X.25 PAD (X.25 settings are configured in the Login Script window);

UUCP TCP/IP - this protocol allows unix-to-unix copy mail exchange for IP connections.;

b) Comment	any comments on the host;

c) Phone èëè IP Name	this can be either a telephone number (UUCP-modem, UUCP/PAD-modem), or the HOST NAME of the Internet server. You can define several phone numbers using a colon to separate them.

d) Host 	for UUCP - this setting is the host name in the UUCP system.
For other protocols - this is the name of the mail queue (first eight characters are used to create a subdirectory in the SpoolDir);

e) NodeName	for UUCP  - this is the name of your PC in the UUCP system. Leave blank if you are not using UUCP.

f) Login 	username, login for connecting to a host (UUCP, POP3);

g) Password	your password (UUCP, POP3);

h) Login Script	a script to execute during the connection;

i) Scheduler	automated operation setup;

j) G-Protocol	G-protocol settings for UUCP;

k) Modem Setup	configuration of your modem.

MODEM SETUP

Modem Setup  dialog window allows you to set modem init string, dial type, serial port baud rate, flow control, number of stop bits, parity, how to process CARRIER signal, etc.

To make the setup easier, you can select predefined settings for your modem from the list. If your modem is not listed, select HAYES-1200 and change the init string according to your modem user manual.

You can always modify the init string for any modem, as the list offers you only a general init string.

LOGIN SCRIPT

LOGIN SCRIPT - these are additional commands that allow you to automate connection to a UUCP host.

dMail for Windows understands the following commands:

{WAIT:xxxx}	wait for a sequence of xxxx characters in the incoming data stream;

{DELAY:nnnn}	pause for nnnn seconds;

{TYPE:ssss}	output the string ssss into the outgoing data stream;

{CHAR:nnnn}	output one character, nnnn - is the decimal value (ASCII code) of the character;

{LOGIN}	output contents of the LOGIN field of the configuration settings;

{PASSWORD}	output contents of the PASSWORD field of the configuration settings;

{ENTER}	output the <CR> character;

{GO}	proceed to the main exchange protocol;

{END}	terminate script.

You can you regular expression in the {WAIT:xxxx} command.

See Searching and Filtering for more information about regular expressions.

Sample usage of LOGIN SCRIPT:

{ENTER}{WAIT:*name:}{TYPE:tailor}{ENTER}{WAIT:*ogin:}{DELAY:5}{LOGIN}{WAIT:*word:}{PASSWORD}{GO}{END}

{ENTER}	output <CR>,

{WAIT:*name:}	wait for a string that contains 'name:' as a substring,

{TYPE:tailor}	output the string 'tailor',

{ENTER}	output <CR>,

{WAIT:*ogin:}	wait for a string that contains 'ogin:' as a substring,

{DELAY:5}	pause for 5 seconds,

{LOGIN}	output username,

{WAIT:*word:}	wait for 'word:' substring,

{PASSWORD}	output password,

{GO}	initiate UUCP exchange,

{END}	end script.

{ENTER}{WAIT:*\*}{TYPE:prof10}{ENTER}{TYPE:nDEMOSP-41007021}{ENTER}{WAIT:*ogin:}{LOGIN}{WAIT:*word:}{PASSWORD}{GO}{END}

{ENTER}	output <CR>,

{WAIT:*\*}	wait for  '*',

{TYPE:prof10}	output 'prof10',

{ENTER}	output <CR>,

{TYPE:nDEMOSP-41007021}	output a string to connect to kremvax.demos.su,

{ENTER}	output <CR>,

{WAIT:*ogin:}	wait for 'ogin:',

{DELAY:5}	pause for 5 seconds,

{LOGIN}	output username,

{WAIT:*word:}	wait for 'word:',

{PASSWORD}	output password,

{GO}	initiate UUCP exchange,

{END}	end script.

Using dMail for Windows.


New message

Choose New Message from the File menu or click on the new message icon.

If you already have your message in a file, you can choose Open from the File menu, or click on the file open icon.

New message window

contains message header and editing area.

To fill header fields set the

 Show Header control as follows

Header contains the following buttons:

TO	- chose an addressee from an address book

CC	- chose a carbon copy addressee from an address book

BCC	- chose a blind carbon copy addressee from an address book

CopySelf	- to save a file carbon copy of the message

AddSignature	- to add a signature file to the message

ConfirmDelivery	- to request a return receipt for this message.

Subject 	- here you can type a brief description of the message topic

AttachFile	- here you can Attach files

To send a message, choose SendMail from the FILE menu, or click the send button.

To save message to a file, choose SaveAs from the FILE menu, click the save button.

You can select some or all message text (Select All in the EDIT menu)

Selected text can be copied into Windows Clipboard by choosing COPY from the EDIT menu, by clicking on the COPY icon, or by pressing  CTRL+INS.

Selected text can be cut into Windows Clipboard by choosing CUT from the EDIT menu, by clicking on the CUT icon, or by pressing  CTRL+DEL.

If Windows Clipboard contains some text, you can paste it  by choosing PASTE from the EDIT menu, by clicking on the PASTE icon, or by pressing  SHIFT+INS.

If Windows Clipboard contains text of the receive message, you can paste it  with the quotation prefix '>' by choosing PASTE SPECIAL from the EDIT menu, or by pressing  CTRL+S.

Using dMail for Windows.


Shortcut keys

dMail for Windows has the following shortcut keys:

à)  for the new mail window:

 F10 - send message,

 Ctrl+S - paste original message from the clipboard with the '>' prefix,

 Ctrl+H - show message header;

á) for the receive mail window:

 Up,Down,PgUp,PgDn to select from the mail list (upper window),

 space bar, enter - show message text,

 Ins - select a message (upper window),

 F5 copy selected messages to a file,

 F6 copy selected messages to a folder,

 F7 reply to selected messages,

 F8 decode (UUENCODE) selected messages,

 F9 forward selected messages,

 Del move selected messages to a trash can,

 Shift+Up,Shift+Down,PgDn,PgUp - scroll message text  (lower window),

 Ctrl+H - show message header;

â) for the active newsgroups list:

 Up,Down,PgUp,PgDn - choose a group from the quick selection list (right window),

 space bar, enter - load  current group from the quick selection list  (right window),

 Shift+space, Shift+enter - load current group from the full newsgroup list (left window),

 Shift+Up,Shift+Down,PgDn,PgUp - choose a group from the full newsgroup list (left window),

 Left move selected groups from the quick list to the full list,

 Right move selected groups from the full list to the quick list,

 F2 save selected groups,

 F5 refresh active groups.

 the - key unselects all groups;

Using dMail for Windows.


Connecting to a host

Choose ConnectToHost from the FILE menu, or click on the connect icon, choose the required host and click OK. Double click on the connect icon connects you to you current default host.

NOTE!!! NNTP newsgroup access works only for IP connections.

To connect to a NewsServer: choose ReadNews from the FILE menu, or click on the USENET News icon.

In the window

You can select a group to read, move it to the right window (full list), or move it to the quick access list (right window).

Available buttons:

 refresh the list of newsgroups that are available at the news server;

move selected groups to the quick access list;

move selected groups to the full newsgroup list;

save current settings;

unselect groups.

If you use Up, Dn, PgDn, Ins, Enter with the Shift key pressed, you work with the full list (left window)

See also Shortcut keys.

Using dMail for Windows.


Newsgroup post

First, you need to create a new message by choosing New Message from the FILE menu, or by clicking on the new message icon.

If you already have your message in a file, you can choose Open from the File menu, or click on the file open icon.

The new message windows contains header and editing area.

To fill header fields

 click on Show Header.

Header contains the following items:

Distrib	- field that defines distribution area of the post,

Keyword	- field that defines key words,

Summary	- a short summary of the post.

NewsServer	 	- news server selection button

Group	- address book group selection button

CopySelf	- save a file carbon copy

AddSignature	- add a signature file

ConfirmDelivery	- request return receipt

Subject	- field that defines subject of the message

AttachFile	 - here you can Attach files

.

To send a message, choose SendMail from the FILE menu, or click the send button.

To save message to a file, choose SaveAs from the FILE menu, click the save button.

You can select some or all message text (Select All in the EDIT menu)

Selected text can be copied into Windows Clipboard by choosing COPY from the EDIT menu, by clicking on the COPY icon, or by pressing  CTRL+INS.

Selected text can be cut into Windows Clipboard by choosing CUT from the EDIT menu, by clicking on the CUT icon, or by pressing  CTRL+DEL.

If Windows Clipboard contains some text, you can paste it  by choosing PASTE from the EDIT menu, by clicking on the PASTE icon, or by pressing  SHIFT+INS.

If Windows Clipboard contains text of the receive message, you can paste it  with the quotation prefix '>' by choosing PASTE SPECIAL from the EDIT menu, or by pressing  CTRL+S.

Using dMail for Windows.


UUENCODE
UUENCODE UUENCODE is a popular method of binary file encoding.


Reading mail

The following options are available for reading mail:

- Mailbox for new messages,

- mailbox with file carbon copies of sent messages,

- archive folder with sorted mail,

- mailbox in a file.

Choose What to Read from the FILE menu:

- Read New, or click on the new mail icon,

- Read Copies, or click on the saved copies icon,

- Read Folder, or click on the folder icon,

- Read File,  or click on the diskette icon.

A mail window appears.

This window has the following parts:

- Mail list,

- Message text window,

- Drag&Drop.

Using dMail for Windows.


Message list
Mail list

Mail list has the following fields:

 indicates whether the message is new,

 size of the message (bytes),

 creation date ,

 FROM, who wrote the message,

 message subject.

Mail list can be sorted by any of these fields.

Double click on the upper part of the corresponding( red) field. Reverse sort is performed by double clicking with the SHIFT key pressed.

Messages can be also sorted from the menu:

Use Shortcut keys to select messages. Selected messages are shown in another color.

Press Enter or click left mouse button on the line with the message to load it.

To select multiple messages, hold Ctrl and use right mouse button.

Press Del to send selected messages to the trash can.

Using dMail for Windows.


Message text window

This window shows the text of a message.

You can select part or all text of the message (Select All in the EDIT menu)

and copy it to the WINDOWS Clipboard (Copy in the EDIT menu).

You can turn on and off message header.

- OFF

- ON

This options is usually turned on if you need more detailed information about message path and additional header fields.

Use Up, Dn, PgUp and PgDn while holding Shift to scroll message text.

Using dMail for Windows.


Drag & Drop

Drag&Drop is a convenient way to use mouse in Windows.

You select an object with a mouse, hold the left mouse button (LMB), drag this object to a destination and drop it by releasing the mouse button.

If you select a message (or several messages) and hold LMB, the cursor shape changes to:

To select two or more messages hold down Ctrl or select messages using the right mouse button.

dMail for Windows uses Drag&Drop for:

copying message(s) to a file;

copying message(s) to a folder;

decoding (UUENCODE) selected message(s);

replying to selected message(s);

bouncing and forwarding selected message(s);
Bounce	- preserves all original header fields (From:, Date:, Subject: è ïð.). Your fields will be added with the 'Resent-' prefix.;
E.g., Resent-From:, Resent-To:, Resent-Date: etc.
Forward	- you forward this message with your comments. You act as the author, message subject is formed automatically, a string (fwd) is added. Original message begins after your comments with the line "Forwarded message:".

Logical deletion (send to trash can).
Double Click restores last deleted message, Shift+Double Click restores all deleted messages.
Restored messages are added to the end of the list and remain marked.

To perform an operation, drag objects to the corresponding icon and release LMB..

See also  Shortcut keys.

Using dMail for Windows.


Mailbox
Mailbox is a text file that contains messages is a special format


Attach files

To attach files you will use this dialog

You should specify fully qualified pathname (or use BROWSE button) , choose type of file, encoding and comment.